﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Collections;

namespace Quản_Lý_Thư_Viện
{
    class DausachControl
    {
        private DausachDataAccess dausachdata = new DausachDataAccess();
        public void insertdausach(DausachInfo info)
        {
            dausachdata.insertdausach(info);
        }
        public void updatedausach(DausachInfo info)
        {
            dausachdata.updatedausach(info);
        }
        public void deletedausach(DausachInfo info)
        {
            dausachdata.deletedausach(info);
        }
        public DataTable LayDSDausach()
        {
            return dausachdata.LayDSDausach();
        }
        public ArrayList getdsmadausach()
        {
            return dausachdata.getdsmadausach();
        }
        public DataTable laytrigia()
        {
            return dausachdata.laytrigia();
        }
        public DataTable top4sachmuon()
        {
            return dausachdata.top4sachmuon();
        }
        public DataTable timmds()
        {
            return dausachdata.timmds();
        }
             
        public DataTable top4vote()
        {
            return dausachdata.top4vote();
        }
    }
}
